package com.lhz.project.wage.model.excel;

import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import lombok.Data;


/**
 * 工资基本表参数类
 *
 * @author LiHuaZhi
 * @since 2020-07-04 13:05:55
 */
//Excel导出类
// 头背景设置成红色 IndexedColors.RED.getIndex()
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 10)
// 头字体设置成20
@HeadFontStyle(fontHeightInPoints = 20)
// 内容的背景设置成绿色 IndexedColors.GREEN.getIndex()
@ContentStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 17)
// 内容字体设置成20
@ContentFontStyle(fontHeightInPoints = 20)
@Data
public class WageOutData {

    /**
     * 序号
     */
    private Integer num;
    /**
     * 名称
     */
    private String name;
    /**
     * 身份证
     */
    private String idCard;
    /**
     * 银行卡
     */
    private String bankCard;
    /**
     * 入职日期
     */
    private String joinDate;
    /**
     * 职位
     */
    private String position;
    /**
     * 年薪
     */
    private Double annualSalary;
    /**
     * 绩效
     */
    private Double performance;
    /**
     * 基础工资
     */
    private Double baseWage;

    /**
     * 交通费
     */
    private Double traffic;
    /**
     * 通讯费
     */
    private Double communication;
    /**
     * 保密费
     */
    private Double secret;

    /**
     * 实际工资
     */
    private Double total;

}